/**
 * 
 */
package org.paybiz.model;

import java.io.Serializable;

/**
 * @Title: YeePayResultDO.java
 * @Description: 请求支付返回对象
 * @author Nassir.wen
 * @date 2010-10-13 下午02:32:14
 * @version V1.0
 * @Company: MSD.
 * @Copyright Copyright (c) 2010
 */
public class PayReqResultDO implements Serializable {

    /**
	 * 
	 */
    private static final long serialVersionUID = 8446818446422775248L;

    private Integer result = 1; // 默认值为1,"0"为成功,"1"为失败

    private String errId = ""; // 错误编码

    private String errMsg = ""; // 错误信息

    private String payUrl = ""; // 支付链接

    private String info = ""; // 成功时返回信息

    private Long userId; // 返回用户编号

    private String hmac = ""; // 签名数据

    public PayReqResultDO() {
        super();
    }

    public PayReqResultDO(Integer result, String errId, String errMsg) {
        super();
        this.result = result;
        this.errId = errId;
        this.errMsg = errMsg;
    }

    public Integer getResult() {
        return result;
    }

    public String getErrId() {
        return errId;
    }

    public void setErrId(String errId) {
        this.errId = errId;
    }

    public void setResult(Integer result) {
        this.result = result;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public String getPayUrl() {
        return payUrl;
    }

    public void setPayUrl(String payUrl) {
        this.payUrl = payUrl;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getHmac() {
        return hmac;
    }

    public void setHmac(String hmac) {
        this.hmac = hmac;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return "PayReqResultDO [result=" + result + ", errId=" + errId
                + ", errMsg=" + errMsg + ", payUrl=" + payUrl + ", info="
                + info + ", userId=" + userId + ", hmac=" + hmac + "]";
    }
}
